#include "./geometry_test.h"

TEST(CartesianCoordinate, operatorAdditionAttribution_string_CartesianCoordinate) {

	// Arrange
	string str1 = "CartesianCoordinate: ", final_str1 = "CartesianCoordinate: X"; // no change expected
	CartesianCoordinate obj1 = X, final_obj1 = X;
	string expected = "CartesianCoordinate: X";

	// Act
	string actual = ( str1 += obj1 );

	// Assert
	EXPECT_EQ( str1, final_str1 ) << "str1: " << str1 << " | final_str1: " << final_str1 << pendl;
	EXPECT_EQ( obj1, final_obj1 ) << "obj1: " << obj1 << " | final_obj1: " << final_obj1 << pendl;
	EXPECT_EQ( expected, actual ) << "expected: " << expected << " | actual: " << actual << pendl;

};

